package SpringCode10Affair.SpringCode10Affair.service;

import java.util.List;

import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import SpringCode10Affair.SpringCode10Affair.bean.StudentsBean;

public interface IStudentService {

	@Transactional(propagation = Propagation.REQUIRED)
	public void save(StudentsBean bean);
	
	public List<StudentsBean> findAll();
}
